package com.iwinding.ladygg.net.callback;

import com.iwinding.ladygg.net.response.BaseRopnse;
import com.iwinding.ladygg.net.response.SosDetailRp;
import com.iwinding.ladygg.utils.GsonUtil;
import com.iwinding.ladygg.utils.LogUtil;

/**
 * Created by hezhiyong on 2017/3/24.
 */

public abstract class SosDetailCallBack extends BaseRpCallback<SosDetailRp> {

    @Override
    public SosDetailRp parseResponse(BaseRopnse response, int id) {
        LogUtil.i("@hzy", "icane----SosDetail:" );
        SosDetailRp rp = GsonUtil.getInstance().formJson(response.data, SosDetailRp.class);
        return rp;
    }
}
